package com.hundsun.cprs.yyt.service.quota.dao;

import com.hundsun.cprs.yyt.service.quota.domain.QuotaExchangeRecord;
import com.hundsun.cprs.yyt.service.quota.domain.query.QuotaExchangeRecordQuery;
import com.hundsun.cprs.yyt.service.quota.dto.QuotaExchangeRecordInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QuotaExchangeRecordDao {
    int deleteByPrimaryKey(Long id);

    int insert(QuotaExchangeRecord record);

    QuotaExchangeRecordInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(QuotaExchangeRecord record);

    List<QuotaExchangeRecordInfo> queryByPage(QuotaExchangeRecordQuery query);
}